

#ifndef HR_CALC_H_
#define HR_CALC_H_
#include "stdint.h"
#include "string.h"
#include "stdbool.h"
#include <stdio.h>
#include "SZHuaYiTec_hr.h"
#include "app_trace.h"

#define HR_LOG(fmt, ...) //app_trace_log(fmt "\r\n", ##__VA_ARGS__)
#define HR_DEBUG_UART_OUT_ENABLE 0 //串口输出波形到PC显示的开关

void hr_cal_reset(void);
uint8_t hr_cal(uint8_t vol_value);
bool hr_wear_judge(uint8_t value);
#endif
